package com.vpen.picupload.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * (Card)实体类
 *
 * @author vpen
 * @since 2021-08-09 23:03:55
 */
@Data
@Accessors(chain = true)
@TableName("card")
public class Card implements Serializable {
    private static final long serialVersionUID = -67166962586174160L;
    /**
    * 主键
    */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
    * 身份证号
    */
    private String number;
    /**
    * 地址
    */
    private String address;
    /**
    * 过期时间
    */
    private LocalDateTime expiredTime;
}